package com.example.service;

import com.example.mybatis.service.CrudService;
import com.example.dto.RawMaterialsConfigDTO;
import com.example.entity.RawMaterialsConfigEntity;

import java.util.List;

/**
 * 原材料配置表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-04-29
 */
public interface RawMaterialsConfigService extends CrudService<RawMaterialsConfigEntity, RawMaterialsConfigDTO> {
  void save(RawMaterialsConfigDTO dto);

  List<RawMaterialsConfigDTO> query(Long dishId);
  void deleteMaterials(List<Long> configIds, Long dishId);
}